From aa7dadf6b99d1c6ac722af2cfa1f05b1179072b8 Mon Sep 17 00:00:00 2001 From: "kaf24@freefall.cl.cam.ac.uk" Date: Mon, 30 Aug 2004 23:00:31 +0000 Subject: [PATCH] bitkeeper revision 1.1159.53.25 (4133b18fZ5FTt-fwTtgweJYFwIKErw) Remove redundant multicall_op from libxc. --- tools/libxc/xc_private.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h index 9da98a25ab..aee4bf90e6 100644 --- a/tools/libxc/xc_private.h +++ b/tools/libxc/xc_private.h @@ -106,28 +106,6 @@ static inline int do_dom0_op(int xc_handle, dom0_op_t *op) out1: return ret; } -static inline int do_multicall_op(int xc_handle, - void *call_list, int nr_calls) -{ - int ret = -1; - privcmd_hypercall_t hypercall; - - hypercall.op = __HYPERVISOR_multicall; - hypercall.arg[0] = (unsigned long)call_list; - hypercall.arg[1] = (unsigned long)nr_calls; - - if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 ) - { - if ( errno == EACCES ) - fprintf(stderr, "Dom0 operation failed -- need to" - " rebuild the user-space tool set?\n"); - goto out1; - } - - out1: return ret; -} - - static inline int do_dom_mem_op(int xc_handle, unsigned int memop, unsigned int *extent_list, -- 2.30.2